package com.maket.scxx.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 工厂定义对象 gc_factory_unit_table
 * 
 * @author ruoyi
 * @date 2024-07-02
 */
public class GcFactoryUnitTable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 生产单元编码 */
    @Excel(name = "生产单元编码")
    private String dyCode;

    /** 生产单元名称 */
    @Excel(name = "生产单元名称")
    private String dyName;

    /** 生产单元类型编号 */
    @Excel(name = "生产单元类型编号")
    private String dyTypeCode;

    /** 父级生产单元编号 */
    @Excel(name = "父级生产单元编号")
    private String dyParentCode;

    /** 负责人编号 */
    @Excel(name = "负责人编号")
    private String fzrCode;

    /** 创建人 */
    private String dyCreate;

    /** 创建时间 */
    private Date dyCreatetime;

    /** 修改时间 */
    private Date dyUpdatetime;

    /** 是否启用 */
    @Excel(name = "是否启用")
    private Long isStart;

    /** 是否删除 */
    private Long isDelete;

    private String gyroadCode;
    private String gxCode;

    public String getGyroadCode() {
        return gyroadCode;
    }

    public void setGyroadCode(String gyroadCode) {
        this.gyroadCode = gyroadCode;
    }

    public String getGxCode() {
        return gxCode;
    }

    public void setGxCode(String gxCode) {
        this.gxCode = gxCode;
    }

    public void setDyCode(String dyCode)
    {
        this.dyCode = dyCode;
    }

    public String getDyCode() 
    {
        return dyCode;
    }
    public void setDyName(String dyName) 
    {
        this.dyName = dyName;
    }

    public String getDyName() 
    {
        return dyName;
    }
    public void setDyTypeCode(String dyTypeCode) 
    {
        this.dyTypeCode = dyTypeCode;
    }

    public String getDyTypeCode() 
    {
        return dyTypeCode;
    }
    public void setDyParentCode(String dyParentCode) 
    {
        this.dyParentCode = dyParentCode;
    }

    public String getDyParentCode() 
    {
        return dyParentCode;
    }
    public void setFzrCode(String fzrCode) 
    {
        this.fzrCode = fzrCode;
    }

    public String getFzrCode() 
    {
        return fzrCode;
    }
    public void setDyCreate(String dyCreate) 
    {
        this.dyCreate = dyCreate;
    }

    public String getDyCreate() 
    {
        return dyCreate;
    }
    public void setDyCreatetime(Date dyCreatetime) 
    {
        this.dyCreatetime = dyCreatetime;
    }

    public Date getDyCreatetime() 
    {
        return dyCreatetime;
    }
    public void setDyUpdatetime(Date dyUpdatetime) 
    {
        this.dyUpdatetime = dyUpdatetime;
    }

    public Date getDyUpdatetime() 
    {
        return dyUpdatetime;
    }
    public void setIsStart(Long isStart) 
    {
        this.isStart = isStart;
    }

    public Long getIsStart() 
    {
        return isStart;
    }
    public void setIsDelete(Long isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dyCode", getDyCode())
            .append("dyName", getDyName())
            .append("dyTypeCode", getDyTypeCode())
            .append("dyParentCode", getDyParentCode())
            .append("fzrCode", getFzrCode())
            .append("dyCreate", getDyCreate())
            .append("dyCreatetime", getDyCreatetime())
            .append("dyUpdatetime", getDyUpdatetime())
            .append("isStart", getIsStart())
            .append("isDelete", getIsDelete())
            .toString();
    }
}
